//package com.lsyw.intergrate.config.schedule;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.annotation.SchedulingConfigurer;
//import org.springframework.scheduling.config.ScheduledTaskRegistrar;
//
//import java.util.concurrent.Executors;
//import java.util.concurrent.ScheduledExecutorService;
//
//@Configuration
//public class ScheduledPoolConfig implements SchedulingConfigurer {
//    @Override
//    public void configureTasks(ScheduledTaskRegistrar taskRegistrar) {
//        ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(15);
//        taskRegistrar.setScheduler(scheduledExecutorService);
//    }
//}
